function [rad]=toRadians(degrees)
rad = degrees*pi/180;
end